package com.moneywelcome.orderfacade.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户持仓表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
public class UserFinancialVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long financialId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 黄金id
     */
    private Integer goldId;
    /**
     * 黄金名
     */
    private String variety;
    /**
     * 用户持仓份额
     */
    private Double financialShares;
    private Double manageRate;
    /**
     * 持有收益
     */
    private Double holdRevenue;

    /**
     * 总收益
     */
    private Double totalRevenue;
}
